package com.epam.iunna.bookshop.controller.actions;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.epam.iunna.bookshop.controller.utils.dispatch.ActionInt;

public class LogOut implements ActionInt{

    @Override
    public String perform(HttpServletRequest request,
            HttpServletResponse response) {
        request.getSession().invalidate();
        return "/login.jsp";
    }
    
}
